<?php

namespace org\phpstruct\db\I;

use org\phpstruct\core;

interface DBDriverInterface {

    public function commit();

    public function rollback();

    /**
     *
     * @param <type> $sql
     * @return \org\phpstruct\db\PDO\PDOStatement
     */
    public function prepare($sql);

    public function exec($sql);

    /**
     * @return \org\phpstruct\db\PDO\PDOStatement
     */
    public function query($sql);

    public function quote($sql);

    public function lastInsertId();

}

///
